package _14_Interface;

public class Client {

	public static void main(String[] args) {
		//接口是可以发生多态的,可以接收实现对象
		IUserService userService = new UserServiceImpl();
		User user = new User(12,"admin","root","王华");
		userService.add(user);
		userService.login(user);
		userService.m1(2);
	}

}
